home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
USA Bestseller
/
USA BESTSELLER Vol 1-95 (Hepp-Computer)(1995).iso
/
e204
/
plotdemo
< prev
next >
Wrap
Text File
|
1994-08-16
|
725b
|
35 lines
; To run this demo, type UCALC < PLOTDEMO at the DOS prompt.
plot y=sin(x)
plot r=t/pi, 0..5pi ; Polar equation
plot x=cos(t)-cos(2t), y=sin(t)-sin(2t), 0..2pi ; Parametric equation
plot 3*sin(t), t, -7.5..7.5 ; Another parametric equation
window(0,10,0,7.5) ; (0,0) is now on the bottom left of the screen
plot x^2
window(-10,10,-7.5,7.5) ; Back to the default window setting
plot ; Plot by itself prompts for multiple equations
line(-6,-5,-1,4)
y=sin(x)
y=2sin(x)
r=2cos(3t)
x=2cos(t), y=2sin(t)
rect(5,3,7,7)
fill(6,4)
plot"graph1.dat" ; Plots the data from another file
plot
sin(x)
rect(-9,-5,-4,-2)
"graph2.dat"
mono
plot
5/x
fill(1,1)